package com.bdqn.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Group entity. @author MyEclipse Persistence Tools
 */

public class Group implements java.io.Serializable {

	// Fields

	private Integer groupId;
	private String groupName;
	private Set users = new HashSet(0);
	private Set groupModules = new HashSet(0);

	// Constructors

	/** default constructor */
	public Group() {
	}

	/** minimal constructor */
	public Group(String groupName) {
		this.groupName = groupName;
	}

	/** full constructor */
	public Group(String groupName, Set users, Set groupModules) {
		this.groupName = groupName;
		this.users = users;
		this.groupModules = groupModules;
	}

	// Property accessors

	public Integer getGroupId() {
		return this.groupId;
	}

	public void setGroupId(Integer groupId) {
		this.groupId = groupId;
	}

	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

	public Set getUsers() {
		return this.users;
	}

	public void setUsers(Set users) {
		this.users = users;
	}

	public Set getGroupModules() {
		return this.groupModules;
	}

	public void setGroupModules(Set groupModules) {
		this.groupModules = groupModules;
	}

}